extends Node2D
func _ready():
	# 1. 创建 Area2D（或 RigidBody2D/StaticBody2D）
	var area = Area2D.new()
	add_child(area)
	
	# 2. 添加 CollisionShape2D
	var collision_shape = CollisionShape2D.new()
	area.add_child(collision_shape)
	
	# 3. 设置圆形碰撞形状，半径=10
	var circle_shape = CircleShape2D.new()
	circle_shape.radius = 10
	collision_shape.shape = circle_shape
	
	# 4. 绘制红色圆（可选，如果之前没有画）
	queue_redraw()

func _draw():
	draw_circle(Vector2.ZERO, 10, Color.RED)
